<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>评论信息模块</title>
    <!--2个js文件 ,要先引入jquery,然后再引入easyui-->
    <script src="../js/jquery-easyui-1.8.1/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <!-- 验证登录 -->
    <script src="../js/mds.js" type="text/javascript" charset="utf-8"></script>
    <script src="../js/jquery-easyui-1.8.1/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
    <!--2个样式表文件-->
    <link rel="stylesheet" type="text/css" href="../js/jquery-easyui-1.8.1/themes/default/easyui.css"/>
    <link rel="stylesheet" type="text/css" href="../js/jquery-easyui-1.8.1//themes/icon.css"/>
    <script type="text/javascript" src="../js/datagrid-detailview.js"></script>
        <style>
                #comment_from{
                    text-align: center;
                }
            </style>
    </head>
<body>
<div class="easyui-layout" style="width: 100%;" data-options="fit:true">
<input type="hidden" name="tab">
    <div data-options="region:'west',split:true,title:'评论分类'" style="width:220px;padding:10px;">
            <ul id="tree"></ul>
    </div>
	<div data-options="region:'center',title:'评论列表'">
            <table id="comment"></table>
    </div>
    <div id="tip"></div>
    <div id="dialog" style="display: none">
                <div style="padding:10px 60px 20px 60px">
                    <form id="comment_from" method="post">
                        <input type="hidden" name="comment_type" >
                        <div style="margin-bottom:20px">
                            <input class="easyui-combobox" name="person_name" id="person_name" data-options="label:'Name:',required:true,missingMessage:'请选择姓名'" style="width:500px">
                            </div>
                        <div style="margin-bottom:20px">
                            <input class="easyui-textbox" name="content" style="width:500px;height: 100px"
                                data-options="label:'Content:',multiline:true,required:true,missingMessage:'评论不能为空',validType:['length[20,200]'],invalidMessage:'评论不得少于20字'">
                        </div>
                        <div style="margin-bottom:20px">
                            <input class="easyui-textbox" name="source" style="width:500px"
                                data-options="label:'Source:',required:true,missingMessage:'地址不能为空'">
                        </div>
                    </form>
                    <div style="text-align:center;padding:5px 0">
                        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm()"
                            style="width:80px">Submit</a>
                        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="clearForm()"
                            style="width:80px">Clear</a>
                    </div>
                </div>
</div>
</div>

</body>
<!-- 格式化时间 -->
<script src="../js/moment.js" type="text/javascript" charset="utf-8"></script>
<!-- 转json对象 -->
<script src="../js/jquery.serializejson.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/comment.js" type="text/javascript" charset="utf-8"></script>
</html>
<!-- <script>
// $.parser.parse();
</script> -->